<?php
/**
 * Created by PhpStorm.
 * User: xiong <1099446868@qq.com>
 * DateTime: 2018/12/19
 * TIME: 23:59
 */

namespace app\index\validate;


class BookValidate extends BaseValidate {

    protected $rule = [
        'keyword'=>'require|max:20'
    ];

    protected $message = [
        'keyword.require'=>'请输入小说名称或作者昵称',
    ];
}